package cn.edu.ctbu.config;


import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 配置分页
 */
@Configuration
public class MyBatiesPlusConfig {


    @Bean
    public PaginationInterceptor getPage(){


        return new PaginationInterceptor();
    }
}
